package wql.aaa.dao;

import com.aaa.entity.TbHeadNav;
import com.aaa.vo.Result;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import wql.aaa.vo.FormData;

import java.util.List;

/**
 * @author wql
 * @version 1.0
 * @date 2023/2/27 11:03
 */
@Repository
public interface HeadNovDao extends BaseMapper<TbHeadNav> {
   /**
    * 模糊查询
    * @param formData
    * @return
    */
   List<TbHeadNav> findAll(FormData formData);

   /**
    * 类型查询
    * @return
    */
   List<TbHeadNav> selectType();

  int  changeIsDisable(@Param("headId") int headId,@Param("isDisable") String isDisable);
}
